<%-- 
    Document   : checks
    Created on : May 12, 2014, 2:34:50 AM
    Author     : tadiwa
--%>

<%@page import="mvc.ServerCheck"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>
        <%
            // ServerCheck ss = new ServerCheck();
            ServerCheck lang = (ServerCheck) getServletContext().getAttribute("serverCheck");
            if (lang == null) {
                ServerCheck n = new ServerCheck();
                getServletContext().getAttribute("serverCheck");
                out.println(n.getAuthip());
            }
        %>
    </body>
</html>
